package com.itheima.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/users")
public class helloworld {
    @GetMapping("{id}")
    public String test(@PathVariable Integer id){
        System.out.println("id=>"+id);
        System.out.println("hello00121");
        System.out.println("不过如此");
        return "helloWorld终于好了";
    }
}
